GoCodeAlone maintenance fork: rename module, Go 1.26.3, vuln sweep#1
Merged
Conversation
GoCodeAlone maintenance fork of go-rod/rod (upstream stale since 2024). Renames root module path so consumers can require/replace the fork with a matching module path, bumps go directive 1.21->1.26.3, trims go.work to root. Also fixes a non-constant fmt.Errorf vet warning in the compare-chromedp example (errors.New). The 3 nested example/tooling modules are left on the upstream path (not part of the maintained surface). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Clears the Dependabot golang.org/x/sys privilege-reporting alert in the custom-websocket example module (go 1.18->1.25). Root module already x/sys-clean after the module-graph prune on the rename commit. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR establishes GoCodeAlone/rod as a maintained fork of go-rod/rod by renaming the root Go module path, updating internal import paths accordingly, and doing a small dependency/vet cleanup in examples.
Changes:
- Renamed the root module path to
github.com/GoCodeAlone/rodand updated imports across core packages, tests, generators, and examples. - Updated workspace/module Go version directives and simplified
go.workto only include the root module. - Addressed a
go vetformat-string warning in an example and updatedx/sysin thecustom-websocketexample module.
Reviewed changes
Copilot reviewed 104 out of 105 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| utils.go | Updates internal imports to the new fork module path. |
| states.go | Updates proto import to the new fork module path. |
| setup_test.go | Updates test imports to the new fork module path. |
| query.go | Updates internal imports to the new fork module path. |
| query_test.go | Updates test imports to the new fork module path. |
| page.go | Updates internal imports to the new fork module path. |
| page_test.go | Updates test imports to the new fork module path. |
| page_eval.go | Updates internal imports to the new fork module path. |
| page_eval_test.go | Updates test imports to the new fork module path. |
| must.go | Updates internal imports to the new fork module path. |
| must_test.go | Updates test imports to the new fork module path. |
| lib/utils/utils_test.go | Updates utils test import to the new fork module path. |
| lib/utils/sleeper_test.go | Updates utils test import to the new fork module path. |
| lib/utils/simple-check/main.go | Updates utils import to the new fork module path. |
| lib/utils/shell/main.go | Updates utils import to the new fork module path. |
| lib/utils/setup/main.go | Updates utils import to the new fork module path. |
| lib/utils/rename/main.go | Updates utils import to the new fork module path. |
| lib/utils/lint/prefix.go | Updates utils import to the new fork module path. |
| lib/utils/lint/main.go | Updates utils import to the new fork module path. |
| lib/utils/imageutil.go | Updates proto import to the new fork module path. |
| lib/utils/imageutil_test.go | Updates proto import to the new fork module path. |
| lib/utils/get-browser/main.go | Updates launcher/utils imports to the new fork module path. |
| lib/utils/ci-test/main.go | Updates utils import to the new fork module path. |
| lib/proto/generate/utils.go | Updates launcher/utils imports to the new fork module path. |
| lib/proto/generate/main.go | Updates utils/proto references to the new fork module path (including generated snippet). |
| lib/proto/definitions_test.go | Updates proto test import to the new fork module path. |
| lib/proto/a_utils_test.go | Updates proto test import to the new fork module path. |
| lib/proto/a_patch_test.go | Updates proto test import to the new fork module path. |
| lib/proto/a_interface_test.go | Updates proto/utils imports to the new fork module path. |
| lib/launcher/utils.go | Updates utils import to the new fork module path. |
| lib/launcher/url_parser.go | Updates utils import to the new fork module path. |
| lib/launcher/rod-manager/main.go | Updates launcher/utils imports to the new fork module path. |
| lib/launcher/revision/main.go | Updates utils import to the new fork module path. |
| lib/launcher/private_test.go | Updates test imports to the new fork module path. |
| lib/launcher/os_unix.go | Updates flags import to the new fork module path. |
| lib/launcher/manager.go | Updates internal imports to the new fork module path. |
| lib/launcher/load_test.go | Updates test imports to the new fork module path. |
| lib/launcher/launcher.go | Updates defaults/flags/utils imports to the new fork module path. |
| lib/launcher/launcher_test.go | Updates test imports to the new fork module path. |
| lib/launcher/example_test.go | Updates example test imports to the new fork module path. |
| lib/launcher/browser.go | Updates defaults/utils imports to the new fork module path. |
| lib/js/generate/main.go | Updates utils import to the new fork module path. |
| lib/input/mouse.go | Updates proto import to the new fork module path. |
| lib/input/mouse_test.go | Updates input/proto test imports to the new fork module path. |
| lib/input/keyboard.go | Updates proto import to the new fork module path. |
| lib/input/keyboard_test.go | Updates input/proto test imports to the new fork module path. |
| lib/examples/use-rod-like-chrome-extension/main.go | Updates example imports to the new fork module path. |
| lib/examples/translator/main.go | Updates example import to the new fork module path. |
| lib/examples/stripe/main.go | Updates example import to the new fork module path. |
| lib/examples/launch-managed/main.go | Updates example imports to the new fork module path. |
| lib/examples/disable-window-alert/main.go | Updates example imports to the new fork module path. |
| lib/examples/debug-deadlock/main.go | Updates example import and embedded stack-trace reference to the new fork module path. |
| lib/examples/custom-websocket/go.sum | Updates sums to include new dependency versions (notably x/sys v0.45.0). |
| lib/examples/custom-websocket/go.mod | Updates example module Go version and bumps golang.org/x/sys (and resulting indirects). |
| lib/examples/custom-launch/main.go | Updates example imports and pkg.go.dev link to the new fork module path. |
| lib/examples/connect-browser/main.go | Updates example imports to the new fork module path. |
| lib/examples/compare-chromedp/visible/main.go | Updates example import to the new fork module path. |
| lib/examples/compare-chromedp/upload/main.go | Updates example import to the new fork module path. |
| lib/examples/compare-chromedp/text/main.go | Updates example import to the new fork module path. |
| lib/examples/compare-chromedp/subtree/main.go | Updates example imports to the new fork module path. |
| lib/examples/compare-chromedp/submit/main.go | Updates example imports to the new fork module path. |
| lib/examples/compare-chromedp/screenshot/main.go | Updates example imports to the new fork module path. |
| lib/examples/compare-chromedp/remote/main.go | Updates example import to the new fork module path. |
| lib/examples/compare-chromedp/proxy/main.go | Updates example imports and replaces fmt.Errorf(h) with errors.New(h) to satisfy vet. |
| lib/examples/compare-chromedp/pdf/main.go | Updates example import to the new fork module path. |
| lib/examples/compare-chromedp/logic/main.go | Updates example import to the new fork module path. |
| lib/examples/compare-chromedp/keys/main.go | Updates example imports to the new fork module path. |
| lib/examples/compare-chromedp/headers/main.go | Updates example import to the new fork module path. |
| lib/examples/compare-chromedp/eval/main.go | Updates example import to the new fork module path. |
| lib/examples/compare-chromedp/emulate/main.go | Updates example imports to the new fork module path. |
| lib/examples/compare-chromedp/download_image/main.go | Updates example import to the new fork module path. |
| lib/examples/compare-chromedp/download_file/main.go | Updates example imports to the new fork module path. |
| lib/examples/compare-chromedp/cookie/main.go | Updates example imports to the new fork module path. |
| lib/examples/compare-chromedp/click/main.go | Updates example import to the new fork module path. |
| lib/docker/main.go | Updates utils import and the OCI label URL to point at the new fork repo path. |
| lib/devices/utils_test.go | Updates devices test import to the new fork module path. |
| lib/devices/generate/main.go | Updates utils import to the new fork module path. |
| lib/devices/device.go | Updates proto import to the new fork module path. |
| lib/defaults/defaults.go | Updates utils import to the new fork module path. |
| lib/cdp/websocket_test.go | Updates test imports to the new fork module path. |
| lib/cdp/utils.go | Updates utils import to the new fork module path. |
| lib/cdp/format.go | Updates utils import to the new fork module path. |
| lib/cdp/example_test.go | Updates example test imports to the new fork module path. |
| lib/cdp/client.go | Updates defaults/utils imports to the new fork module path. |
| lib/cdp/client_test.go | Updates test imports to the new fork module path. |
| lib/benchmark/basic_test.go | Updates benchmark test imports to the new fork module path. |
| lib/assets/generate/main.go | Updates utils import to the new fork module path. |
| input.go | Updates internal imports to the new fork module path. |
| input_test.go | Updates test imports to the new fork module path. |
| hijack.go | Updates internal imports to the new fork module path. |
| hijack_test.go | Updates test imports to the new fork module path. |
| go.work.sum | Removes the workspace sum file after simplifying the workspace configuration. |
| go.work | Bumps workspace Go version and limits workspace to just the root module. |
| go.mod | Renames the module path and bumps the module Go version directive. |
| fixtures/gen-fonts/main.go | Updates generator imports to the new fork module path. |
| examples_test.go | Updates imports and documentation links to the new fork module path. |
| error.go | Updates internal imports to the new fork module path. |
| element.go | Updates internal imports to the new fork module path. |
| element_test.go | Updates test imports to the new fork module path. |
| dev_helpers.go | Updates internal imports to the new fork module path. |
| dev_helpers_test.go | Updates test imports to the new fork module path. |
| context.go | Updates utils import to the new fork module path. |
| browser.go | Updates internal imports and pkg.go.dev link to the new fork module path. |
| browser_test.go | Updates test imports to the new fork module path. |
| .claude/autodev-state/demo-fidelity-seen | Adds a Claude Code state artifact file. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+1
to
4
| module github.com/GoCodeAlone/rod | ||
|
|
||
| go 1.21 | ||
| go 1.26.3 | ||
|
|
Comment on lines
+1
to
+3
| go 1.26.3 | ||
|
|
||
| use ( | ||
| . | ||
| ./lib/examples/custom-websocket | ||
| ./lib/examples/e2e-testing | ||
| ./lib/utils/check-issue | ||
| ) | ||
| use . |
| @@ -0,0 +1 @@ | |||
| 5f9d9317b0b15af57f7919c732b8bdc7ca20e7839a7670237800844ca90a487c | |||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Establishes GoCodeAlone/rod as a maintained fork of go-rod/rod (upstream stale since 2024; we need dep/vuln control for workflow-plugin-hover's headless Imperva-bypass auth).
Changes
github.com/go-rod/rod→github.com/GoCodeAlone/rodso consumers can require/replace with a matching module path.go.workto root (the 3 nested example/tooling modules stay on the upstream path; not part of the maintained surface).fmt.Errorfvet warning (compare-chromedp example →errors.New).golang.org/x/sys→ v0.45.0 in the custom-websocket example (Dependabot privilege-reporting CVE). Root module is x/sys-clean after module-graph prune.Verification
go build ./...✓go vet ./...✓ (clean)govulncheck ./...→ No vulnerabilities foundDeliberately NOT done: bleeding-edge dep bumps (fetchup 0.5.x breaks the launcher API for no vuln benefit) and whole-repo
modernize(churns 2600+ lines of generated proto, wrecking upstream-mergeability). Kept minimal + mergeable.🤖 Generated with Claude Code